﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Example17.aspx.cs" Inherits="Chapter18.Example17" %>

<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>代码清单 18-17 使用 :focus 选择器</title>
    <style type="text/css">
        :focus {
            border: thin black solid;
            padding: 4px;
        }
    </style>
</head>
<body>
    <form>
        Name:<input type="text" name="name" />
        <p />
        City:<input type="text" name="city" />
        <p />
        <input type="submit" />
    </form>
</body>
</html>
